<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout::head('首页')">
    <style th:inline="text">
        body{
            background: url("[[@{/}]]img/1.jpg");
        }
    </style>
    <meta charset="UTF-8"/>
    <title>删除图书</title>

</head>
<body>
<div th:replace="~{layout::header}"></div>
<div class="container" style="margin-left:400px">
    <h3 >确认删除图书</h3>

        <form th:action="@{/book/delete2}" method="post">

            <label>图书id:</label>     <input type="text"  name="id" th:value="${booke1.getId()}"></br>
            <label>图书isbn:</label>     <input type="text"   name="isbn" th:value="${booke1.getIsbn()}"></br>
            <label>图书名: </label>       <input type="text"  name="name" th:value="${booke1.getName()}" ></br>
            <label>作者:</label>          <input type="text"  name="author"  th:value="${booke1.getAuthor()}"></br>
            <label>出版社:</label>        <input type="text"  name="publish"  th:value="${booke1.getPublish()}"></br>
            <label>价格:</label>          <input type="text"  name="price" th:value="${booke1.getPrice()}"></br>
            <label> 图书类别: </label>      <input type="text"  name="cat_id"th:value="${booke1.getCategory().id}" >
            <label> 类别名称: </label>      <input type="text"  disabled="disabled" th:value="${booke1.getCategory().getName()}" ></br>
                    <input type="submit" value="确认删除" />
                    <a href="/book/list" th:href="@{/book/list}" >返回</a>
</form>
</div>
</body>
</html>